package com.wuyou.designPatterns.adapter.objAdapter;

public class PrintBanner extends Print{

    private final Banner banner;

    public PrintBanner(Banner banner){
        this.banner = banner;
    }

    @Override
    public void printWeak() {
        this.banner.showWithParen();
    }

    @Override
    public void printStrong() {
        this.banner.showWithAster();
    }
}
